package net.csdra.personnel.domain;

import net.csdra.basis.domain.EntityBase;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * Created by msf on 2018/1/30.
 * metaId表示属于哪个District
 */
@Entity
@Table(indexes = {@Index(name = "METAIDF", columnList = "META_ID,ENTITY_DELETE,ENABLED,ENTITY_ORDER")})
public class Volunteer extends EntityBase {
    //名字
    String name;
    //简介
    String info;
    //年龄
    int age;
    //性别
    boolean sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }
}
